<?php
require_once(dirname(__FILE__).'/../../../wp-config.php');
require_once(dirname(__FILE__).'/../../plugins/silaspartners/flickr/class-public.php');
if (!is_object($SilasFlickrPlugin)) $SilasFlickrPlugin =& new SilasFlickrPlugin();
$photos = $SilasFlickrPlugin->getRecentPhotos('', 0, 80);
shuffle($photos);
foreach ($photos as $photo):?>
<a href="/photos/photo/<?php echo $photo['id'];?>/<?php echo $photo['pagename'];?>" class="photo"><span class="img"><img src="<?php echo $photo['sizes']['Square']['source'];?>" width="38" height="38" /><span class="frame"></span></span></a>
<?php endforeach;?>